<template>
  <SalesOrderForm :salesOrderId="salesOrderId"></SalesOrderForm>
</template>
<script setup name="EditSalesOrder">
import { useRoute, useRouter } from 'vue-router'
import SalesOrderForm from '@/views/salesManage/indentManage/salesOrder/modules/salesOrderForm'
const route = useRoute()
let salesOrderId = ref(null)
watch(
  () => route.query.salesOrderId,
  val => {
    if (route.query.salesOrderId) {
      salesOrderId.value = route.query.salesOrderId
    }
  },
  {
    immediate: true
  }
)
</script>
